﻿@{
    ViewBag.Title = "店铺首页";
    Layout = "~/Views/Shared/_HeadAndEnd.cshtml";
}
@using MvcShoppingMall.Model
<!--搜索框-->
<div class="toub_beij">
    <div class="logo"><a href="./"><img src="~/Content/images/logo.png"></a></div>
    <div class="search">
        <input type="text" value="家电一折抢" class="text" id="textt">
        <button class="button">搜索</button>
    </div>
    <div class="right">
        <i class="gw-left"></i>
        <i class="gw-right"></i>        
        <a href="@Url.Action("ShoppingCar", "Home")">我的购物车</a>
    </div>
    <div class="hotwords">
        <a class="biaoti">热门搜索：</a>
        <a href="###">新款连衣裙</a>
        <a href="###">四件套</a>
        <a href="###">潮流T恤</a>
        <a href="###">时尚女鞋</a>
        <a href="###">乐1</a>
        <a href="###">特步女鞋</a>
        <a href="###">威士忌</a>
    </div>
</div>

@{
    wst_shops shop = ViewBag.shop;
    List<wst_goods> order_good = ViewBag.good;
}
<!--店铺-->
<div class="dianp_logo_beij">
    <div class="dianp_logo_img">
        <img src="~/Content/images/dyImg/@shop.shopImg" />
    </div>
    <div class="beij_center dianp_xianq_fud_beij">
        <div class="dianp_mingx">
            <div class="dianp_minc">
                <p>@shop.shopName</p>
                <div class="services-stars f_f1">
                    <span class="star"><i style="width:81.2819333333%">星星</i></span>
                    <span class="score">4.0</span>分
                </div>
                <div class="dianp_sc">
                    <a href="###" class="btn-collect"><i class="sprite-enter"></i>收藏店铺</a>
                </div>
                <div class="dianp_sc">
                    <a href="###" class="btn-collect"><i class="sprite_3"></i>联系商家</a>
                </div>
            </div>
            <div class="dianp_diz">
                <div class="zuo_diz"><p>地址：@shop.shopAddress</p></div>
                <div class="zuo_diz_2">
                    <span>电话：@shop.telephone</span>
                    <span>联系人：@shop.shopkeeper</span>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="dianp_daoh_beij">
    <div class="beij_center">
        <div class="dp_daoh_ul">
            <ul>
                <li class="dp_dh_li"><a href="@Url.Action("Index", "Home")" class="lin_color">首页</a></li>
                <li class="dp_dh_li">
                    <a href="@Url.Action("StoreIndex", "Store")" class="lin_color">全部商品<i class="ci-leftll"></i></a>
                </li>
                <li class="dp_dh_li"><a href="###" class="lin_color">分销商品</a></li>
                <li class="dp_dh_li"><a href="@Url.Action("StoreAbout", "Store")" class="lin_color">店铺简介</a></li>
            </ul>
        </div>
    </div>
</div>

<!--大图轮播-->
<div class="dianp_banner_brij">
    <div class="slideBox_dianp">
        <div class="hd">
            <ul><li class="on">1</li><li class="">2</li><li class="">3</li></ul>
        </div>
        <div class="bd">
            <ul>
                <li style="display: list-item; opacity: 0.802864;">
                    <a href="###" target="_blank">
                        <img src="~/Content/images/dyImg/lbdt1.jpg" width="100%" height="100%" />
                    </a>
                </li>
                <li style="display: none;">
                    <a href="###" target="_blank">

                        <img src="~/Content/images/dyImg/lbdt2.jpg" width="100%" height="100%" />
                    </a>
                </li>
                <li style="display: none;">
                    <a href="###" target="_blank">
                        <img src="~/Content/images/dyImg/lbdt3.jpg" width="100%" height="100%" />
                    </a>
                </li>
            </ul>
        </div>
        <a class="prev" href="javascript:void(0)"></a>
        <a class="next" href="javascript:void(0)"></a>
    </div>
</div>
<script type="text/javascript">
    jQuery(".slideBox_dianp").slide({ mainCell: ".bd ul", autoPlay: true });
</script>
<!--精品专区-->
<div class="beij_center">
    <div class="dp_sy_biaot">
        <div class="dis_jvz">
            <div class="zuoy_xian"></div>
            <div class="biaot_minz">
                <h1>精品推荐</h1>
                <h3>Boutique zone</h3>
            </div>
            <div class="zuoy_xian"></div>
        </div>
    </div>
    <div class="jinp_tuij_lb">
        <ul>
            @foreach (var item in order_good)
            {
                <li>
                    <a href="@Url.Action("GoodsDatails", "Home", new { gid = item.goodsId })" class="jngp_img"><img src="~/Content/images/dyImg/@item.goodsImg" style="width:390px;height:440px"></a>
                    <a href="@Url.Action("GoodsDatails", "Home", new { gid = item.goodsId })" class="jinp_biaot">@item.goodsName</a>
                    <span>￥@item.shopPrice</span>
                </li>
            }
        </ul>
    </div>
</div>
<!--热销专区-->
<div class="beij_center">
    <div class="dp_sy_biaot">
        <div class="dis_jvz">
            <div class="zuoy_xian"></div>
            <div class="biaot_minz">
                <h1>热销专区</h1>
                <h3>Hot zone</h3>
            </div>
            <div class="zuoy_xian"></div>
        </div>
    </div>
</div>
<div class="rexzqxt_beij">
    <div class="beij_center">
        <div class="picScroll_left_dianp">
            <div class="hd">
                <ul><li class="on">1</li><li class="">2</li><li class="">3</li></ul>
            </div>
            <div class="bd jinp_tuij_lb">
                <div class="tempWrap" style="overflow:hidden; position:relative; width:1224px">
                    <ul class="picList" style="width: 2040px; left: 0px; position: relative; overflow: hidden; padding: 0px; margin: 0px;">
                        @foreach (var item in order_good)
                        {
                            <li style="float: left; width: 381px;">
                                <a href="@Url.Action("GoodsDatails", "Home")" class="jngp_img"><img src="~/Content/images/dyImg/@item.goodsImg" style="width:390px;height:440px"></a>
                                <a href="@Url.Action("GoodsDatails", "Home")" class="jinp_biaot">@item.goodsName</a>
                                <span>￥@item.shopPrice</span>
                            </li>
                        }
                    </ul>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            jQuery(".picScroll_left_dianp").slide({ titCell: ".hd ul", mainCell: ".bd ul", autoPage: true, effect: "left", autoPlay: true, vis: 3, scroll: 1, trigger: "click" });
        </script>
    </div>
</div>
<!--特卖专区-->
<div class="beij_center">
    <div class="dp_sy_biaot">
        <div class="dis_jvz">
            <div class="zuoy_xian"></div>
            <div class="biaot_minz">
                <h1>特卖专区</h1>
                <h3>Sale zone</h3>
            </div>
            <div class="zuoy_xian"></div>
        </div>
    </div>
    <div class="dp_temai_zq">
        <div class="tmai_you_lieb" style="margin-left:20%;">
            @foreach (var item in order_good)
            {
                <div class="temai_qian_img">
                    <a href="@Url.Action("GoodsDatails", "Home")"><img src="~/Content/images/dyImg/@item.goodsImg" style="width:390px;height:460px"></a>
                    <div class="bianq_yv_q" style="width:270px">
                        <a href="@Url.Action("GoodsDatails", "Home")">@item.goodsName</a>
                        <span>￥@item.shopPrice</span>
                    </div>
                </div>
            }
        </div>
    </div>
</div>
